package com.shop.storage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shop.common.core.annotation.Excel;
import com.shop.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 采购需求对象 wms_purchase_require
 *
 * @author czb
 * @date 2024-06-26
 */
public class WmsPurchaseRequire extends BaseEntity
        {
private static final long serialVersionUID = 1L;

        /** id */
        private Long requireId;

        /** 商品库存id */
                @Excel(name = "商品库存id")
        private Long wareSkuId;

        /** 采购数量 */
                @Excel(name = "采购数量")
        private Long requireSum;

        /** 总价 */
                @Excel(name = "总价")
        private BigDecimal requireTotalPrices;

        /** 状态（1.待提交  2.采购  3.驳回  4.已采购） */
                @Excel(name = "状态", readConverterExp = "1=.待提交,2=.采购,3=.驳回,4=.已采购")
        private Long requireStates;

        public void setRequireId(Long requireId)
        {
            this.requireId = requireId;
        }

        public Long getRequireId()
        {
            return requireId;
        }
        public void setWareSkuId(Long wareSkuId)
        {
            this.wareSkuId = wareSkuId;
        }

        public Long getWareSkuId()
        {
            return wareSkuId;
        }
        public void setRequireSum(Long requireSum)
        {
            this.requireSum = requireSum;
        }

        public Long getRequireSum()
        {
            return requireSum;
        }
        public void setRequireTotalPrices(BigDecimal requireTotalPrices)
        {
            this.requireTotalPrices = requireTotalPrices;
        }

        public BigDecimal getRequireTotalPrices()
        {
            return requireTotalPrices;
        }
        public void setRequireStates(Long requireStates)
        {
            this.requireStates = requireStates;
        }

        public Long getRequireStates()
        {
            return requireStates;
        }

@Override
public String toString() {
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        .append("requireId", getRequireId())
        .append("wareSkuId", getWareSkuId())
        .append("requireSum", getRequireSum())
        .append("requireTotalPrices", getRequireTotalPrices())
        .append("requireStates", getRequireStates())
            .toString();
}
}
